<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('showHeroInfo',array('role_id' => $roleId,'name' => $nickname))}">角色名：{$nickname}</a></li>
    </ul>
    <form class="search_form" method="get" action="{:url('showHeroInfo')}">
        <div class="well form-inline margin-top-20">
            武将ID：
            <input type="text" class="form-control" name="base_id" style="width:180px;" value="{:input('request.base_id/d','')}" placeholder="输入武将ID">
            <input type="hidden" class="input length_8" name="role_id" readonly="readonly" value="{$roleId}" id="role_id" >
            <input type="hidden" class="input length_8" name="name" readonly="readonly" value="{$nickname}" id="nickname" >
            <input type="submit" class="btn btn-primary" value="搜索" />
        </div>
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th align="center">唯一ID</th>
                <th align="center">武将ID</th>
                <th align="center">武将名称</th>
                <th>品质</th>
                <th align="center">数量</th>
                <th align="center">星级</th>
                <th align="center">等级</th>
                <th align="center">阶级</th>
                <th align="center">阵营</th>
                <!-- <th align="center">操作</th> -->
            </tr>
            </thead>
            <foreach name="data" item="vo" >
            <tbody>
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.base_id}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.quality}</td>
                    <td>1</td>
                    <td>{$vo.star}</td>
                    <td>{$vo.lev}</td>
                    <td>{$vo.stage}</td>
                    <td>{$vo.realm}</td>
                </tr>
            </foreach>
            </tbody>
        </table>
    </form>
</div>
<script src="__STATIC__/js/admin.js?v=4"></script>
</body>
</html>